package model.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;
@Data
public class MenuVO {
    @JsonIgnore//解析json时忽略该字段
    private Long id;//菜单id
    @JsonIgnore
    private Long parendId;//父菜单id
    private String name;//菜单名称
    private String title;//菜单标题
    private String jump;//菜单路由
    private Boolean spread = false;//是否默认展开
    private List<MenuVO> list = new ArrayList<>();//子菜单

}
